<% content_for :head do %>
		<%= stylesheet_link_tag 'homes' %>
<% end %>
<div id="myCarousel" class="carousel slide">
	<div class="carousel-inner">
		<div class="item active left">
			<!--<img src="http://v2.bootcss.com/assets/img/examples/slide-01.jpg" alt="">-->
			<img src="assets/home/slide_01.jpg">
			<div class="container">
				<div class="carousel-caption">
					<h2>小程序员的成长之路</h2>
					<p class="lead">—— 需要你们的支持和鼓励 </p>
					<%= link_to 'welcome	  »', list_blogs_path, class: 'btn btn-info' %>
				</div>
			</div>
		</div>
		<div class="item next left">
			<!--<img src="http://v2.bootcss.com/assets/img/examples/slide-02.jpg" alt="">-->
			<img src="assets/home/slide_02.jpg">
			<div class="container">
				<div class="carousel-caption">
					<h2>在这里留下你的脚印</h2>
					<p class="lead">—— 分享您的点滴，让大家学到更多</p>
					<%= link_to 'Forum   »', forums_path, class: 'btn btn-info' %>
				</div>
			</div>
		</div>
		<div class="item">
			<!--<img src="http://v2.bootcss.com/assets/img/examples/slide-03.jpg" alt="">-->
			<img src="assets/home/slide_03.jpg">
			<div class="container">
				<div class="carousel-caption">
					<h2>你今天看了吗 ？</h2>
					<p class="lead">—— 看看世界都做些什么..</p>
					<a class="btn btn-info" href="#">click me click me～</a>
				</div>
			</div>
		</div>
	</div>
	<a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a>
	<a class="right carousel-control" href="#myCarousel" data-slide="next">›</a>
</div>



<div class="container">
	<!-- Example row of columns -->
	<div class="row">
		<div class="col-md-4">
			<h2>Blogs</h2>
			<p>日志陪伴着我成长，记录了我的脚印，分享我的成果。这里主要记录一下我的成长经历，分析一下我遇到的问题，分享一下我的个人见解，希望帮到大家。 </p>
			 <%= link_to 'blogs	  »', list_blogs_path, class: 'btn btn-info' %>
		</div>
		<div class="col-md-4">
			<h2>我的论坛</h2>
			<p>2  Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
			<%= link_to 'Forum   »', forums_path, class: 'btn btn-info' %>
		</div>
		<div class="col-md-4">
			<h2>我的推荐</h2>
			<p>3  Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
			<p><a class="btn btn-info" href="#" role="button">Recommendation »</a></p>
		</div>
		<div class="col-md-4">
			<h2>最新动态</h2>
			<p>4	Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
			<p><a class="btn btn-info" href="#" role="button">News »</a></p>
		</div>
		<div class="col-md-4">
			<h2>友情链接</h2>
			<p>5	Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
			<p><a class="btn btn-info" href="#" role="button">Friendship »</a></p>
		</div>
	</div>
</div>

